#include "junix.h"

int main(int argc, char **argv)
{
	struct rusage rs;
	if( getrusage(RUSAGE_SELF,&rs) )
		err_sys("getrusage");

	fprintf(stdout,"%ld\n",rs.ru_maxrss);
	fprintf(stdout,"%ld\n",rs.ru_ixrss);

	return 0;
}

